//
//  ContactUserSingleSelectCell.swift
//  CooperSwift_Example
//
//  Created by 计海峰 on 2022/9/13.
//  Copyright © 2022 CocoaPods. All rights reserved.
//

import UIKit

class ContactUserSingleSelectCell: UITableViewCell {

    @IBOutlet weak var nameLB: UILabel!
    
    @IBOutlet weak var phoneLB: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    override func bindTo(_ info: Any?) {
        super.bindTo(info)
        guard let cellModel = info as? ContactUserSelectCellModel else { return }
        guard let target = cellModel.model as? ContactUserSelectModel else { return }
        nameLB.text = target.name
        phoneLB.text = target.phone
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
